/* pages/unitCheck/unitCheck.wxss */
.unitCheck {
  height: 100vh;
  background-color: #F4F7FB;

  .van-dropdown-menu {
    box-shadow: none;
  }

  .van-dropdown-menu__item {
    justify-content: left;
    padding-left: 14rpx;

    &:nth-child(2) {
      margin-left: 220rpx;
      justify-content: right;
    }
  }

  .van-cell {
    padding: 12px 16px;
    position: static;
  }

  .grid {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;

    .my-tab {
      .my-track {
        width: 60rpx;
      }
    }

    .search {
      background-color: #fff;
      width: 100%;
      box-sizing: border-box;
      padding: 16rpx 32rpx;
    }

    .gridDrop {
      display: flex;
      background-color: #fff;
      justify-content: space-between;
      align-items: center;
      box-sizing: border-box;
      padding-right: 100rpx;
      padding-left: 60rpx;

      .sort {
        display: flex;
        align-items: center;

        .text {
          color: #333;
          text-align: center;
          font-size: 30rpx;
          font-style: normal;
          font-weight: 400;
          margin-right: 12rpx;
        }
      }
    }

    .my-dropDown {
      padding: 24rpx 32rpx;
      padding-bottom: 2rpx;
      background-color: #F4F7FB;

      .van-dropdown-menu__item {
        justify-content: flex-start;
        padding-left: 0;
        align-items: center;
        background-color: #F4F7FB;
      }

      .van-dropdown-menu {
        box-shadow: none;
        --dropdown-menu-height: 28px;
      }

      .van-dropdown-menu__title {
        padding-left: 0;
      }
    }
  }

  .space {
    width: 100%;
    height: 262rpx;
    background-color: pink;
  }

  .space-grid {
    width: 100%;
    height: 308rpx;
    background-color: pink;
  }



  .card-list {
    box-sizing: border-box;
    padding: 32rpx;
    overflow: scroll;
    padding-bottom: calc(env(safe-area-inset-bottom) + 136rpx);
    background-color: #F4F7FB;

    .card {
      box-sizing: border-box;
      padding: 32rpx 0;
      border-radius: 8rpx;
      background: #FFF;
      margin-bottom: 32rpx;

      .shang {
        padding: 0 32rpx;

        .top {
          display: flex;
          justify-content: space-between;
          margin-bottom: 8rpx;

          .title {
            color: #333;
            font-family: PingFang SC;
            font-size: 32rpx;
            font-style: normal;
            font-weight: 600;
            max-width: 240px;
          }

          .tag {
            color: #F90;
            font-family: PingFang SC;
            font-size: 24rpx;
            height: 40rpx;
            font-style: normal;
            font-weight: 400;
            line-height: 20px;
            border-radius: 2px;
            border: 0.5px solid #F90;
            background: rgba(255, 153, 0, 0.10);
            padding: 2rpx 16rpx;
          }


          .JXZ {
            color: #00B42A;
            border: 0.5px solid #00B42A;
            background: rgba(0, 180, 42, 0.10);
          }

          .WKS {
            color: #999999;
            border: 0.5px solid #999999;
            background: rgba(153, 153, 153, 0.10);
          }

          .YJS {
            color: #0C4DF9;
            border: 0.5px solid #0C4DF9;
            background: rgba(12, 77, 249, 0.10);
          }

          .YGQ {
            color: #F53F3F;
            border: 0.5px solid #F53F3F;
            background: rgba(245, 63, 63, 0.10);
          }

          .YQKS {
            color: #F90;
            border: 0.5px solid #F90;
            background: rgba(255, 153, 0, 0.10);
          }

          .NOTPASS {
            color: #F53F3F;
            border: 0.5px solid #F53F3F;
            background: rgba(245, 63, 63, 0.10);
          }

          .PASS {
            color: #00B42A;
            border: 0.5px solid #00B42A;
            background: rgba(0, 180, 42, 0.10);
          }
        }

        .row {
          color: #666;
          font-family: PingFang SC;
          font-size: 28rpx;
          font-style: normal;
          font-weight: 400;
          margin-bottom: 8rpx;

          .no {
            color: #F90;
          }

          .yes {
            color: #0C4DF9;
          }
        }
      }

      .time-tips {
        height: 90rpx;
        background: linear-gradient(180deg, #F4F7FB 0%, rgba(255, 255, 255, 0.00) 100%);
        padding: 0 32rpx;
        // background-color: pink;

        .inner {
          padding-top: 32rpx;
          display: flex;
          align-items: center;

          .l-text {
            color: #999;
            font-family: PingFang SC;
            font-size: 28rpx;
            font-style: normal;
            font-weight: 400;
          }

          .remain-time {
            display: flex;
            align-items: center;
            color: #0C4DF9;
            font-family: PingFang SC;
            font-size: 28rpx;
            font-style: normal;
            font-weight: 400;

            .day {
              width: 58rpx;
              height: 58rpx;
              line-height: 58rpx;
              text-align: center;
              border-radius: 8rpx;
              background: #EBF2FF;

              color: #0C4DF9;
              font-family: PingFang SC;
              font-size: 32rpx;
              font-style: normal;
              font-weight: 600;
            }

            .tian {
              margin: 0 8rpx;
            }

            .hour {
              margin-right: 8rpx;
            }
          }

          .overdue {
            color: #F53F3F;

            .day {
              color: #F53F3F;
              background-color: #FEECEC;
            }
          }
        }
      }
    }
  }
}